<template>
  <div class="lg-container" v-wechat-title="$route.meta.title">
    <div class="status-container">
      <img src="@/assets/establishStatus.png" alt />
      <div class="title">{{title}}</div>
      <van-button type="primary" class="lg-editor-btn" @click="onEditor" color="#03A9AC">前往修改</van-button>
    </div>
  </div>
</template>
<script>
export default {
  data () {
    return {
      title: '等待医生确认您的信息'
    }
  },
  methods: {
    onEditor () {
      this.$router.push('/patientInfo?openId=' + this.$route.query.openId)
    }
  }
}
</script>
<style lang="scss" scoped>
.lg-container {
  width: 100vw;
  min-height: 100vh;
  background-color: #f4f4f4;
  .status-container {
    padding-top: 30px;
    text-align: center;
    img {
      width: 50%;
    }
    .title {
      color: #333333;
      font-size: 15px;
      margin-top: 25px;
    }
  }
  .lg-editor-btn {
    width: 90%;
    margin: 20px 5%;
  }
}
</style>
